import request from '@/utils/request'

// 收到的简历
export function Pages(data) {
  console.log(data)
  return request({
    url: '/Boss/resume/ReceiveList',
    method: 'post',
    data
  })
}

// 所有简历
export function AllPage(data) {
  console.log(data)
  return request({
    url: '/Boss/resume/AllList',
    method: 'post',
    data
  })
}


// 简历详情
export function LoadFrom(data) {
  return request({
    url: '/Boss/resume/LoadForm',
    method: 'post',
    data
  })
}
// 收藏简历
export function CollectResume(data) {
  console.log(data)
  return request({
    url: '/Boss/resume/CollectResume',
    method: 'post',
    data
  })
}
// 浏览简历列表
export function BrowseList(data) {
  console.log(data)
  return request({
    url: '/Boss/resume/BrowseList',
    method: 'post',
    data
  })
}
// 收藏简历列表
export function CollectList(data) {
  console.log(data)
  return request({
    url: '/Boss/resume/CollectList',
    method: 'post',
    data
  })
}
// 投递简历处理
export function DisposeDeliver(data) {
  console.log(data)
  return request({
    url: '/Boss/resume/DisposeDeliver',
    method: 'post',
    data
  })
}
// 邀请面试简历列表
export function InviteList(data) {
  console.log(data)
  return request({
    url: '/Boss/resume/InviteList',
    method: 'post',
    data
  })
}

// 简历留言
export function CommunicateResume(data) {
  console.log(data)
  return request({
    url: '/Boss/resume/CommunicateResume',
    method: 'post',
    data
  })
}

// 列表
export function CommunicateList(data) {
  console.log(data)
  return request({
    url: '/Boss/resume/CommunicateList',
    method: 'post',
    data
  })
}
// 导出
export function Export(data) {
  console.log(data)
  return request({
    url: '/Boss/Download/ExportDoc',
    method: 'post',
    data: data,
    responseType: 'blob'
  })
}
// 列表
export function DownloadList(data) {
  console.log(data)
  return request({
    url: '/Boss/Download/DownloadList',
    method: 'post',
    data
  })
}
// 导入的简历才可以删除简历
export function DeleteResume(data) {
  console.log(data)
  return request({
    url: '/Boss/resume/DeleteResume',
    method: 'post',
    data
  })
}
